package cyce.peer;

import java.rmi.Remote;
import java.rmi.RemoteException;

import cyce.file.FilePacket;

/**
 * This interface is provided by one peer to another.
 * @author CYCE
 *
 */
public interface IPeer extends Remote {
	/**
	 * Request that the peer send some content
	 * @param Hash value of the file
	 * @param The requested file
	 */
	public FilePacket getFile(String fileHash) throws RemoteException;
	
}
